<?php
include 'head.php';

$id = 1;
if(isset($_GET['id']))
{
	$id = $_GET['id'];
}
$sql = "select id,path,title,content,dates,istop from news where flag =1 and id=".$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<link href="1.css" rel="stylesheet" type="text/css">
<div id="ym">


	 
	
     	<div id="main"  style="background:#FFFFFF;width:960px; height:810px;">
	     
			 <div id="dh" style="background:none;">
			 
	     	 
			 			
				<div class="nr2">
						
				  <h1 style="margin:11px 0 0 16px;"><a href="index.php">首页</a><span style="margin:2px 9px 3px 9px;"><img src="images/xw_lbarxl.png"/></span><a href="news.php">新闻资讯</a><span style="margin:2px 9px 3px 9px;"><img src="images/xw_lbarxl.png"/></span><span style="color: #999999;"><?php echo $row['title'];?></span></h1>
				  
							<div id="wznr">
								<div >
								<p style="color:#999999; width:648px; height:76px; line-height:30px;">
									<span style=" font-size:18px; color:#000000; font-weight:bold;"><?php echo $row['title'];?></span><br />日期：<?php echo $row["dates"];?><br />
									<img style=" fmargin-top:16px;"src="images/xw_ggfj.jpg"/>
									<a style=" width:287px; height:292px; margin:51px 15px 29px 16px;background: url(images/xw_gg1.jpg);"></a>
								</p>
								</div>
								<div style="position:relative;height:620px;width:618px;margin:2px 0 0 12px;text-align:left;">
									
										<?php echo $row["content"];?>
									
								</div>
							</div>
				
				</div>
				  
				 
								
							<div class="rt">
							
								<div class="news">
									
									<h1 style="margin:11px 0 0 12px;"><span style="margin-right:9px;"><img src="images/xw_lbarxl.png"/></span>相关消息</h1>
									
									<h1 style="float:right;margin:-14px 16px; color:#336699;"><span style="margin:1px 6px; color: #666666; font-size:10px; font-weight:normal;">></span><a style="text-decoration:none;" href="news.php">更多</a></h1>
																
									<h2 style="color:#393939; margin:30px 0px 0px 16px;"><span style="margin-right:4px;"><img src="images/xw_bd.jpg"/></span>身材小巧、能量强劲、i-mill车载充电器</h2>
								
								</div>
						
								<a style="background:url(images/xw_gg3.jpg);margin-top:15px;"></a>
						
							    <a style="background:url(images/xw_gg4.jpg); margin-top:14px;"></a>
						    
							</div> 
			 
		     </div>
		</div>
		  
	<?php include 'bottom.php';?>
	 
</div>